home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir36 / sstuff30.zip / DAILY.BAT < prev    next >
DOS Batch File  |  1993-02-22  |  767b  |  37 lines

  1. echo off
  2. whenisit /w
  3. if errorlevel 7 goto sat
  4. if errorlevel 6 goto fri
  5. if errorlevel 5 goto thu
  6. if errorlevel 4 goto wed
  7. if errorlevel 3 goto tue
  8. if errorlevel 2 goto mon
  9. :sun
  10. echo It's Sunday
  11. rem  Place commands here for Sunday execution
  12. goto end
  13. :sat
  14. echo It's Saturday
  15. rem  Place commands here for Saturday execution
  16. goto end
  17. :fri
  18. echo It's Friday
  19. rem  Place commands here for Friday execution
  20. goto end
  21. :thu
  22. echo It's Thursday
  23. rem  Place commands here for Thursday execution
  24. goto end
  25. :wed
  26. echo It's Wednesday
  27. rem  Place commands here for Wednesday execution
  28. goto end
  29. :tue
  30. echo It's Tuesday
  31. rem  Place commands here for Tuesday execution
  32. goto end
  33. :mon
  34. echo It's Monday
  35. rem  Place commands here for Monday execution
  36. goto end
  37. :end